package com.yehebl.orm.anno;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.yehebl.orm.enums.IdType;

/**
 * 表id标识
 */
@Target({METHOD, FIELD})
@Retention(RUNTIME)
public @interface Id {
	IdType value() default IdType.none;
}
